package ch00.ch04;

/**
 *
 * 解析注解的测试
 *
 * @Author lzp
 * @Date 2024-04-07
 */
public class Text04 {
    public static void main(String[] args) {

        //实例化动物
        GeZi geZi = new GeZi();
        Tiger tiger =new Tiger();

        //实例化饲养员
        BuRuAnimalSiYangYuan<BuRuAnimal> zs = new BuRuAnimalSiYangYuan<>();
        FeiQinAnimalSiYangYuan<FeiQinAnimal> ls = new FeiQinAnimalSiYangYuan<>();

        zs.TiJian(tiger);
        zs.XuCha(tiger);
        ls.TiJian(geZi);
        ls.XuCha(geZi);
    }
}
